package com.example.entities;

public class MP3 {
    private int id;//歌曲编号
    private int duration;//时长
    private int progress;//进度
    private int size;//字节大小
    private String url;//访问路径
    private String title;//歌曲名称
    private String musician;//歌手

    public MP3(int id, int duration, int size, String url, String title, String musician) {
        this.id = id;
        this.duration = duration;
        this.size = size;
        this.url = url;
        this.title = title;
        this.musician = musician;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMusician() {
        return musician;
    }

    public void setMusician(String musician) {
        this.musician = musician;
    }
}
